from typing import List, Dict, Any, Optional
from pydantic import BaseModel


class DispatchRequest(BaseModel):
    """
    对话统筹与路由判断请求模型

    :param conversations: 聊天历史记录
    """
    conversations: List[Dict[str, str]]
    # 定义请求数据模型，包含对话历史列表
